<style>
.select2-dropdown {
	z-index: 20000000;
}

.selectTab {
	width: 390px;
	height: 300px;
	font-size: .875rem;
	background: #fff;
	overflow: hidden;
	position: absolute;
	top: 70px;
	right: 0;
	z-index: 2000;
	display: none;
	border: 1px solid #d8d8d8;
}
.selectTab .main-content-table{
	bottom: 0;
	overflow: auto;
}
.selectTab .main-header-search .form-inline {
    padding: 5px;
}
.selectTab .input-group {
    width: 100%;
}
.selectTab .list-group-item {
    padding: 5px 15px;
}
</style>
<div class="layer_container">
	<div class="body_container">
		<div class="layer_content">
			<form class="form-horizontal">
				<div class="form-group">
					<label class="col-sm-4 control-label">
						<span class="must" style="color: red">
							<strong>*</strong>
						</span>
						分类
					</label>
					<div class="col-sm-8">
						<input type="text" class="form-input" id="fangan_fenlei" value="{{d.typename?d.typename:''}}"   data-id="{{d.fanganbdo01?d.fanganbdo01:''}}" />
						<div class="selectTab" id="fenlei_html">
							<div class="main-header-search">
								<div class="form-inline">
									<div class="input-group">
										<input type="text" class="form-input " placeholder="请输入名称、编号搜索" id="search_tree_text"  />
										<div class="input-group-btn" onclick="closeChangeTdDiv();" style="width:1%">
											<button class="btn  btn-min btn-grey btn_group_dept" type="button">
												<span class="glyphicon glyphicon-remove"></span>
											</button>
										</div>
									</div>
								</div>
							</div>
							<div class="main-content-table">
									<div id="treeFa" class="treeview"></div>
							</div>
						</div>
						<!-- <select class="form-control" id="fangan_fenlei">
				{{# var list = d.list;}}
				{{# for(var i = 0;i<list.length;i++){ }}
					<option value="{{ list[i]['bdo01'] }}">{{ list[i]['ndticn'] }}</option>
				{{# } }}
				</select> -->
					</div>
				</div>
				<!-- <div class="form-group">
			<label class="col-sm-4 control-label">编号</label>
			<div class="col-sm-8">
				<input type="text" class="form-control" placeholder="0.0">
			</div>
		</div> -->
				<div class="form-group">
					<label class="col-sm-4 control-label">
						<span class="must" style="color: red">
							<strong>*</strong>
						</span>
						名称
					</label>
					<div class="col-sm-8">
						<input type="text" class="form-input" id="fangan_name" value="{{d.nameText?d.nameText:''}}">
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-4 control-label">别名</label>
					<div class="col-sm-8">
						<input type="text" class="form-input" id="fangan_bieming">
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-4 control-label">说明</label>
					<div class="col-sm-8">
						<textarea class="form-input" rows="3" id="fangan_shuoming"></textarea>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-4 control-label">
						<span class="must" style="color: red">
							<strong>*</strong>
						</span>
						适用范围
					</label>
					<div class=" col-sm-8">
						<label class="radio-inline">
							<input type="radio" name="inlineRadioOptions" value="0" class="fangan_radio magic-radio" checked>
							<span>个人</span>
						</label>
						<label class="radio-inline">
							<input type="radio" name="inlineRadioOptions" value="1" class="fangan_radio magic-radio" >
							<span>本科室</span>
						</label>
						<label class="radio-inline">
							<input type="radio" name="inlineRadioOptions" value="2" class="fangan_radio magic-radio">
							<span>全院</span>
						</label>
					</div>
				</div>
			</form>
		</div>
	</div>
	<div class="footer_container">
		<button class="btn btn-green" id="save_edit_fangan">确定</button>
		<button class="btn btn-white" id="remove_action_cwfz">取消</button>
	</div>
</div>
